package com.orphan.audit.service.impl;

import com.orphan.audit.po.PromotionCommodity;
import com.orphan.audit.dao.PromotionCommodityMapper;
import com.orphan.audit.service.IPromotionCommodityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yichen
 * @since 2021-07-14
 */
@Service
public class PromotionCommodityServiceImpl extends ServiceImpl<PromotionCommodityMapper, PromotionCommodity> implements IPromotionCommodityService {
    @Autowired
    private PromotionCommodityMapper promotionCommodityMapper;
    @Override
    public List<PromotionCommodity> getAll() {
        return promotionCommodityMapper.getAll();
    }
}
